package com.lyfam.velcro.common.impl;

import java.util.Collection;

import com.lyfam.velcro.common.IHtmlElement;
import com.lyfam.velcro.common.IRepeatableHtmlElement;

public abstract class AbstractRepeatableHtmlElement
    extends AbstractHtmlElement
    implements IRepeatableHtmlElement
{
    private Collection<IHtmlElement> collection;

    public Collection<IHtmlElement> getElements()
    {
        return getCollection();
    }

    public Collection<IHtmlElement> getCollection()
    {
        return collection;
    }

    public void setCollection(Collection<IHtmlElement> collection)
    {
        this.collection = collection;
    }
    
}
